//
//  LGCiTangJiSiCollectionViewCell.m
//  ligenyun
//
//  Created by Mac on 2018/3/27.
//  Copyright © 2018年 stoneobs@icloud.com. All rights reserved.
//

#import "LGCiTangJiSiCollectionViewCell.h"

@implementation LGCiTangJiSiCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self configSubView];
        
    }
    return self;
}
+ (CGFloat)cellHeight{
    return photoItemWith + 30;
}
#pragma mark --subView
- (void)configSubView{
    self.iconButton = [[STButton alloc] initWithFrame:CGRectMake(0, 0, photoItemWith, photoItemWith)
                                                title:@""
                                           titleColor:nil
                                            titleFont:0
                                         cornerRadius:0
                                      backgroundColor:nil
                                      backgroundImage:nil
                                                image:nil];
    [self addSubview:self.iconButton];
    
    self.titleLable = [[STLabel alloc] initWithFrame:CGRectMake(0, self.iconButton.bottom, photoItemWith, 30)
                                                     text:@"贡酒"
                                                textColor:FirstTextColor
                                                     font:14
                                              isSizetoFit:NO
                                            textAlignment:NSTextAlignmentCenter];
    [self addSubview:self.titleLable];
}
@end
